﻿<phone:PhoneApplicationPage 
    x:Class="OnlineMovies.Views.VideoGameHistory"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
     xmlns:LART="clr-namespace:OnlineVideos"
     xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait"  Orientation="Portrait"
    shell:SystemTray.IsVisible="True" Loaded="PhoneApplicationPage_Loaded" >

    <!--LayoutRoot is the root grid where all page content is placed-->
    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="HistoryGrid">
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="80"/>
        </Grid.RowDefinitions>
        <Grid x:Name="LayoutRoot" Background="{StaticResource bipivot}">
       
        <!--Pivot Control-->
          <phone:Pivot x:Name="pvtMainHistory">
            <phone:Pivot.Title>
                <StackPanel Orientation="Horizontal" Margin="-10,0,0,10">
                    <Image Style="{StaticResource DetailPagePivotTitleImage}" x:Name="imgTitle" MouseEnter="imgTitle_MouseEnter"/>
                    <TextBlock x:Name="tblkVideosTitle"  Text="HISTORY" Style="{StaticResource DetailPagePivotTitle}"/>
                </StackPanel>
            </phone:Pivot.Title>
            <phone:Pivot.Foreground>
                white
            </phone:Pivot.Foreground>

            <!--Pivot item one-->
            <phone:PivotItem x:Name="pvtitmVideos" Header="games">
                <Grid x:Name="videosGrid">
            <LART:ShowHistory x:Name="showHistory" />
                </Grid>
            </phone:PivotItem>

            <phone:PivotItem x:Name="pvtitemSongs" Header="videos">
                <Grid x:Name="SongsGrid">
<LART:VideosHistory x:Name="VideoHistory" />
                </Grid>


            </phone:PivotItem>
           
        </phone:Pivot>
    </Grid>
        <StackPanel Name="adstackplHistory" Grid.Row="1" Orientation="Vertical" Margin="-4,10,0,0" >
        </StackPanel>
    </Grid>

</phone:PhoneApplicationPage>